package generics.MethodGenerics;

import generics.InterfaceGenerics.Student;

public class Test {
    public static void main(String[] args) {
        Student s=new Student();
        show(s);
        show("abc");
    }
    //T的作用域是方法
    public static <T> void show(T t) {
        System.out.println(t);
    }
}
